<?php
ArrowController::importModel("org.arrowplatform.controls.presentation.table.columns.ArrowAbstractTableColumn");
ArrowController::importModel("smarty.SmartyCompiler");
class ArrowTableTemplateColumn extends ArrowAbstractTableColumn{
	
	private $template;
	
	public function configure(){
		parent::configure();
		$this->setDisplay(false);
	}
	
	public function init(){
		parent::init();
		$this->template = $this->getFirstChild("ArrowCtrlTemplate");
	}
	
	public function generateRowCell( $context ){
		return "<td {$this->class} >".$this->template->processTemplate($context)."</td>";
	}
}
?>